home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Shareware
/
Business Shareware.iso
/
start
/
database
/
ddfile65
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-03-10
|
2KB
|
90 lines
ECHO OFF
CLS
IF /%1 == / GOTO ERROR
IF %1 == A: GOTO FLOPPY
IF %1 == a: GOTO FLOPPY
IF %1 == B: GOTO FLOPPY
IF %1 == b: GOTO FLOPPY
IF %1 == C: GOTO HARD
IF %1 == c: GOTO HARD
IF %1 == D: GOTO HARD
IF %1 == d: GOTO HARD
IF %1 == E: GOTO HARD
IF %1 == e: GOTO HARD
IF %1 == F: GOTO HARD
IF %1 == f: GOTO HARD
GOTO ERROR
:FLOPPY
ECHO If installing to 5 ¼" disks, you'll need three
ECHO blank formatted non-system diskettes. If installing
ECHO to 3½" diskettes, you may use only one disk.
ECHO .
ECHO Press Ctrl-C to abort or insert diskette
ECHO in drive %1: and press any other key...
ECHO .
PAUSE
CLS
ECHO Label this disk "Program Disk" when finished.
ECHO .
DDFILE65 %1
ECHO .
ECHO If using 5¼" disks, insert 2nd disk in %1 drive
ECHO and press any key or press Ctrl-C to abort...
PAUSE
CLS
ECHO Label this disk "Data Disk" when finished.
ECHO .
SAMPLE %1
ECHO .
ECHO If using 5¼" disks, insert 3rd disk in %1 drive
ECHO and press any key or press Ctrl-C to abort...
PAUSE
CLS
ECHO Label this disk "Documentation Disk" when finished.
ECHO .
DDFMAN %1
ECHO .
CLS
ECHO .
ECHO To run DOCTOR DATA File on a floppy disk
ECHO system see page 10 in the documentation.
ECHO .
ECHO To print documentation, ready your
ECHO printer, type PRNDOCS, press Enter.
ECHO .
ECHO Finished.
ECHO .
%1
GOTO END
:HARD
ECHO Installing DOCTOR DATA File to the %1 drive.
ECHO .
MD %1\DDFILE
DDFMAN %1\DDFILE
DDFILE65 %1\DDFILE
SAMPLE %1\DDFILE
ECHO .
ECHO To run DOCTOR DATA File, type DDFILE, press Enter.
ECHO .
ECHO To print documentation, ready your printer, type
ECHO PRNDOCS, press Enter.
ECHO .
ECHO Finished.
%1
CD\DDFILE
GOTO END
:ERROR
ECHO .
ECHO To install DOCTOR DATA File, type INSTALL and the
ECHO drive to install to i.e. INSTALL B: or INSTALL C:
ECHO .
:END